/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package manager;

import dao.TimeDao;
import entity.Slot;
import java.util.List;

/**
 *
 * @author daz
 */
public class SlotManager {

    private TimeDao slotDao;

    public void setSlotDao(TimeDao slotDao) {
        this.slotDao = slotDao;
    }

    public TimeDao getSlotDao() {
        return slotDao;
    }

    public List<Slot> getListSlots() {
        return this.slotDao.getListSlot();
    }

    public void insertNewSlot(Slot s) {
       this.slotDao.insertNewSlot(s);
    }
}
